Command: ED (Encrypt Decimalization Table). Can be used in online, offline or secure state.
Function: To encrypt a 16 digit decimalization table for use with host commands using IBM 3624 PIN Generation & Verification.
HSM State: The HSM must be in Authorised State
Inputs: Decimalization table. 16 decimal digits that specify the mapping between hexadecimal & decimal numbers.
The HSM by default checks that the decimalization table contains at least 8 different digits, with no digit repeated more than 4 times. This feature may be disabled using the Configure Security parameter “Enable decimalization table check”. Disabling of this feature is not recommended
Outputs: Encrypted decimalization table: 16 Hex characters.
Errors: NOT AUTHORISED - The HSM is not in the authorised state.
DECIMALIZATION TABLE INVALID- Decimalization table not all decimal or does not contain at least 8 different digits with no digit repeated more than 4 times.
MASTER KEY PARITY ERROR -The contents of the HSM storage have been corrupted or erased. Do not continue. Inform the security department.
Example
Online – AUTH> ED <Return>
Enter decimalization table : 0123456789012345 <Return>
Encrypted decimalization table: XXXX XXXX XXXX XXXX